﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LynxWebLog
{
    public class Page
    {
        public int pageid { get; set; }
        public string title { get; set; }
        public string description { get; set; }
        public string wp_page_parent_id { get; set; }
        public string wp_page_order { get; set; }
        public bool IsPublished { get; set; }

        public Page() { }

        public Page(PageData pd)
        {
            this.pageid = pd.pageid;
            this.title = pd.title;
            this.description = pd.description;
            this.wp_page_parent_id = pd.wp_page_parent_id;
            this.wp_page_order = pd.wp_page_order;
            this.IsPublished = pd.IsPublished;
        }
    }
}